Author: Giovanni Rimassa (University of Parma), Tiziana Trucco (CSELT S.p.A.)
Date:
Java platform: Sun JDK 1.2 Windows
JADE version 2.1
When a JADE container is started, it is possible to activate one ore more communication endpoints on it.
When a container starts, it prints on the standard output all the activated MTP addresses, separated by a carriage return. Moreover, it writes the same addresses in a file, named:
MTPs-Container Name.txt.
Using the -mtp command line option, a transport endpoint lives as long as its container is up; when a container is shut down, all its MTPs are deactivated and the AMS information is updated accordingly. The JADE RMA console enables a more flexible management of the MTPs, allowing to activate and deactivate transport protocols during normal platform operations.
Configuring MTPs from the graphical management console.
Select a container from the GUI, click the right button of the mouse and a popup menu appears.
Choose the
For example,
Choosing Uninstall an MTP shows a dialog where the user can select from a list one of the currently installed MTPs and remove it from the platform.
JADE
is a trademark of
CSELT. JADE
has been developed jointly by CSELT and
the Computer Engineering Group of
the University of Parma
Since JADE 2.1, FIPA-compliant Message Transport Protocols can be plugged and activated at run-time on any JADE container.
By default, the ORB implementation of Sun is launched on the Main Container of the platform. However, in alternative,
the ORBacus implementation is also available.
This tutorial describes how to install and use this ORBacus implementation in JADE.
In order to use ORBACUS ORB the following steps must be performed:
At this point in time, an IIOP endpoint that uses an ORBacus-based IIOP MTP can be activated.
There are two ways available to activate it:
In brackets the IIOP address where the platform must listen to incoming FIPA messages can be specified.
This has the big advantage
that the address of the platform can be selected by the user and, eventually, might be published on your business card. In other words, there is no more any need to publish the IOR of the agent platform.
-mtp orbacus.MessageTransportProtocol(corbaloc:iiop:hostname:port/name)
Install a new MTP option and a dialog will be shown.
Here the following information can be set: the container to install the new MTP on (if different from the selected one),
the fully qualified name of the class implementing the jade.mtp.MTP interface,
and (if it is supported by the chosen protocol) the transport address that will be used to contact the new MTP.
jade.mtp.iiop.MessageTransportProtocol as the class name and nothing as the address.
orbacus.MessageTransportProtocol as the class name and
(if the endpoint had to be deployed at host sharon.cselt.it on the TCP port 1234 with an object ID jade)
corbaloc:iiop:sharon.cselt.it:1234/jade as the transport address.